package com.example.springboot.dao;

import com.example.springboot.entity.Cart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CartDao {

    int insert(Cart cart);

    List<Cart> findByUserid(String userid);

    int deleteById(Integer id);

}
